/*
 * 合作伙伴列表搜索
 * @Author: ljb 
 * @Date: 2017-11-27 15:24:29 
 * @Last Modified by: ljb
 * @Last Modified time: 2018-01-25 13:32:17
 */
<template>
<Form ref="formInline" inline>

    <Form-item label="名称" :label-width="100">
        <Input type="text"  placeholder="请输入名称" v-model="formValidate.name">
        </Input>
    </Form-item>

    <!-- <Form-item label="截止时间" :label-width="80">
        <DatePicker v-model="formValidate.operate_time" @on-change="changeDate" type="date" placeholder="任务截止日期"></DatePicker>
    </Form-item> -->

    <Form-item>
        <Button type="primary" @click="confirmSearch">搜索</Button>
    </Form-item>
    
</Form>
</template>
<script>

export default {

    name: 'partner-search-form',

    data: function () {
        return {

            // real_date : '',             //格式化的时间

            formValidate : {

                name : '',

                // operate_time : ''

            },                  //搜索框的对象参数
        }
    },

    mounted() {

    },

    methods: {

        /**
         * 确认搜索
         * @return {undefined}
         */
        confirmSearch(){

            const param = {

                name : this.formValidate.name,

            }

            this.$emit('search',param);

        }
        
    },
    
}

</script>